<%inherit file="/base.html"/>

<%def name="main_heading()">${c.district}</%def>

<%def name="content()">

<h3><a href="${url(controller='organization', action='districts')}">&lt;&lt; ${_('All districts')}</a></h3>

% for type_ in c.types: 
	% if len(c.divisions(type_.id)) > 0:
		<h3>
			${type_.plural}
		</h3>
		% for division in c.divisions(type_.id):
		<p>${h.division_link(division)}</p>
		% endfor
	% endif
% endfor

</%def>